<header class="incident-record">
  <nz-tabset [(nzSelectedIndex)]="index">
    <nz-tab [nzDisabled]="index>1 && isEdit" [nzTitle]="'TrafficManagement.IncidentRecord.Incident_Record_List' | translate">
      <itmp-incident-record-list (changeTabPage)="tabChange($event)" (isIrSelected)="irSelected($event)" [accessButton]='accessButton'></itmp-incident-record-list>
    </nz-tab>
    <nz-tab [nzDisabled]="index>1 && isEdit" [nzTitle]="'TrafficManagement.IncidentRecord.Ir_History_List' | translate">
      <itmp-ir-history-list [zoneList]='zoneList'></itmp-ir-history-list>
    </nz-tab>
    <nz-tab [nzDisabled]="isEdit" [nzTitle]="'TrafficManagement.IncidentRecord.Ir_Info_Detail' | translate" class='funcU' (nzClick)="clearDetail()" *ngIf='isDetailShow'>
      <itmp-ir-info-detail
        [accessButton]='accessButton'
        (incidentPosition)="incidentPosition($event)"
        (clickEdit)="clickEdit($event)"
        (cancelEdit) = "cancelEdit($event)"
        (isIrCreated)="irCreated($event)"
        (irFinished)="irFinished()">
      </itmp-ir-info-detail>
    </nz-tab>
    <nz-tab [nzDisabled]="isEdit" [nzTitle]="'TrafficManagement.IncidentRecord.Response_Plan' | translate" class='funcU' (nzClick)="handleClick()"  *ngIf='isDetailShow'>
      <itmp-response-plan  [accessButton]='accessButton'></itmp-response-plan>
    </nz-tab>
  </nz-tabset>
</header>